package com.huaxiafinance.management.mapper;

import com.huaxiafinance.management.dto.response.QueryRoleDto;
import com.huaxiafinance.management.model.RolePermission;

import java.util.List;

public interface RolePermissionMapper {
	int insert(RolePermission rolePermission) throws Exception;

	int update(RolePermission rolePermission) throws Exception;

	int delete(Integer id) throws Exception;

	List<QueryRoleDto> select(Integer id) throws Exception;
}
